<!DOCTYPE html>
<html>

<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="../bootstrap-5.1.3-dist/css/bootstrap.css" rel="stylesheet">
    <script src="../bootstrap-5.1.3-dist/js/bootstrap.bundle.js"></script>
</head>

<body class="container">
    <h3 align="center">垂直形式的胶囊导航选项卡</h3>
    <div class="row">
        <div class="col-4">
            <ul class="nav nav-pills">
                <li class="nav-item">
                    <a class="nav-link active" data-bs-toggle="pill" href="#head">经典教材</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-bs-toggle="pill" href="#new">热门课程</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-bs-toggle="pill" href="#template">技术支持</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-bs-toggle="pill" href="#about">联系我们</a>
                </li>
            </ul>
        </div>
        <div class="col-8">
            <div class="tab-content">
                <div class="tab-pane active" id="head">这里包含网站开发，编程开发和网络安全方面的经典教材</div>
                <div class="tab-pane" id="new">这里包含网站开发，编程开发和网络安全方面的视频课程</div>
                <div class="tab-pane" id="template">读者遇到技术问题可以留言</div>
                <div class="tab-pane" id="about">联系公众号：老码识途课堂</div>
            </div>
        </div>
    </div>

</body>

</html>